export function getNetworkInfo() {
  const isTestnet = /testnet/i.test(window.location.href)
  let website = 'https://iconlake.com'
  let lcd = 'https://lcd.iconlake.com'
  let chainId = 'iconlake-1'
  if (isTestnet) {
    website = 'https://test.iconlake.com'
    lcd = 'https://lcd.testnet.iconlake.com'
    chainId = 'iconlake-testnet-1'
  }
  return {
    isTestnet,
    website,
    lcd,
    chainId
  }
}
